package com.lifa.dao;

import com.lifa.entity.HuiyuanChongzhi;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HuiYuanChongZhiDao {
    /**
     * 查询全部充值的信息
     * @return
     */
    public List<HuiyuanChongzhi> chongzhichax();

    /**
     * 获取总条数
     * @return
     */
    public long chongzhizongtiaoshu(@Param("huiyuanchognzhi_Name") String huiyuanchognzhi_Name);

    /**
     * 分页
     * @param huiyuanchognzhi_Name
     * @param offset
     * @param limit
     * @return
     */
    public List<HuiyuanChongzhi> chongzhifenye(@Param("huiyuanchognzhi_Name") String huiyuanchognzhi_Name, @Param("offset") int offset, @Param("limit") int limit);

    /**
     * 添加
     */
    public int tianjia(HuiyuanChongzhi huiyuanChongzhi);


}
